package com.foreverwin.jzymes.production.resource.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
import java.util.Date;

/**
 * 设备维修记录表 Z_RESOURCE_REPAIR_LOG
 * 
 * @author ervin
 * @date 2019-07-08
 */
public class ResourceRepairLog
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private String handle;
	/** 站点 */
	private String site;
	/** 设备编号 */
	private String resrce;
	/** 故障描述 */
	private String breakDesc;
	/** 故障分析 */
	private String breakAnalysis;
	/** 维修措施 */
	private String repairStep;
	/** 创建日期 */
	private Date createdDateTime;
	/** 完成日期 */
	private Date closedDateTime;
	/** 报修人员 */
	private String createUserBo;
	/** 维修人员 */
	private String updateUserBo;

	public void setHandle(String handle) 
	{
		this.handle = handle;
	}

	public String getHandle() 
	{
		return handle;
	}
	public void setSite(String site) 
	{
		this.site = site;
	}

	public String getSite() 
	{
		return site;
	}
	public void setResrce(String resrce) 
	{
		this.resrce = resrce;
	}

	public String getResrce() 
	{
		return resrce;
	}
	public void setBreakDesc(String breakDesc) 
	{
		this.breakDesc = breakDesc;
	}

	public String getBreakDesc() 
	{
		return breakDesc;
	}
	public void setBreakAnalysis(String breakAnalysis) 
	{
		this.breakAnalysis = breakAnalysis;
	}

	public String getBreakAnalysis() 
	{
		return breakAnalysis;
	}
	public void setRepairStep(String repairStep) 
	{
		this.repairStep = repairStep;
	}

	public String getRepairStep() 
	{
		return repairStep;
	}
	public void setCreatedDateTime(Date createdDateTime) 
	{
		this.createdDateTime = createdDateTime;
	}

	public Date getCreatedDateTime() 
	{
		return createdDateTime;
	}
	public void setClosedDateTime(Date closedDateTime) 
	{
		this.closedDateTime = closedDateTime;
	}

	public Date getClosedDateTime() 
	{
		return closedDateTime;
	}
	public void setCreateUserBo(String createUserBo) 
	{
		this.createUserBo = createUserBo;
	}

	public String getCreateUserBo() 
	{
		return createUserBo;
	}
	public void setUpdateUserBo(String updateUserBo) 
	{
		this.updateUserBo = updateUserBo;
	}

	public String getUpdateUserBo() 
	{
		return updateUserBo;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("handle", getHandle())
            .append("site", getSite())
            .append("resrce", getResrce())
            .append("breakDesc", getBreakDesc())
            .append("breakAnalysis", getBreakAnalysis())
            .append("repairStep", getRepairStep())
            .append("createdDateTime", getCreatedDateTime())
            .append("closedDateTime", getClosedDateTime())
            .append("createUserBo", getCreateUserBo())
            .append("updateUserBo", getUpdateUserBo())
            .toString();
    }
}
